export function setHead(dom, params, heightParam) {
  const height = dom.style.height.substring(0, 2);
  if (!params) {
    const newHeigth = Number(height) + heightParam;
    dom.style.height = newHeigth + "vh";
  } else {
    const newHeigth = Number(height) - heightParam;
    dom.style.height = newHeigth + "vh";
  }
}
